/*
 focus = (
	{
	id = 20575;
	img = http://img01.bqstatic.com/upload/activity/activity_v4_20575_1452217080_focus.jpg@90Q;
	name = 年货大集;
	toURL = http://www.sfbest.com/html/zt/xianguoxinyu/index.html?device=2;
 }


 
 
 */

#import <Foundation/Foundation.h>

@interface EGHomeModel : NSObject

@property (copy,nonatomic) NSString *id;
@property (copy,nonatomic) NSString *img;
@property (copy,nonatomic) NSString *name;
@property (copy,nonatomic) NSString *toURL;
@property (copy,nonatomic) NSString *customURL;







+ (instancetype)modelWithDict:(NSDictionary *)dict;

+ (void)getAdDataWithSuccess:(void(^)(NSArray *))success failure:(void(^)(NSError *))failure;

+ (void)getIconDataWithSuccess:(void(^)(NSArray *))success failure:(void(^)(NSError *))failure;


+ (void)getActivitiesDataWithSuccess:(void(^)(NSArray *))success failure:(void(^)(NSError *))failure;



@end
